<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>click</title>
<style type="text/css">
.console-menu-dragbar {
	width: 6px;
	height: 100%;
	position: absolute;
	right: 0;
	top: 0;
	background: url(/TP001/Public/images/s_bg_0.jpg) 0 0;
	overflow: hidden;
}
.drag-menu-contraction {
	cursor: pointer;
	width: 6px;
	height: 78px;
	position: absolute;
	right: 0px;
	background: url(/TP001/Public/images/s_bg_0.jpg) 0 0;
	z-index: 10;
}
.drag-menu-contraction:hover {
	background: url(/TP001/Public/images/s_0_hover.gif);
}
.drag-menu-contraction.up {
	background: url(/TP001/Public/images/s_1.gif);
}
.drag-menu-contraction.up:hover {
	background: url(/TP001/Public/images/s_1_hover.gif);
}
</style>
</head>
<body>
<div class="drag-menu-contraction" title="隐藏列表" style="top: 291.5px;"></div>
<div class="console-menu-dragbar" style="height: 661px;"></div>
<script type="text/javascript" src="/TP001/Public/js/jquery.js"></script> 
<script type="text/javascript">
	var mainFrameset = top.document.getElementById("mainFrameset");
	var $switch_div = $(".drag-menu-contraction");
	$(".console-menu-dragbar").css({"height":$(window).height()});
	$switch_div.css({
		"top": ($(window).height() / 2 - 39) + "px" //减去收缩按钮的高度
	});
	$switch_div.toggle(
			function () {
				$(this).addClass("up").attr("title","展开列表");
				mainFrameset.cols = "0,6,*";
			},
			function () {
				$(this).removeClass("up").attr("title","隐藏列表");
				mainFrameset.cols = "203,6,*";
			}
	);
</script>
</body>
</html>